package com.yy.service;

import com.yy.dto.ShoppingCartDTO;
import com.yy.entity.ShoppingCart;
import com.yy.result.Result;

import java.util.List;

public interface ShoppingCartService {

    void addShoppingCart(ShoppingCartDTO dto);

    List<ShoppingCart> list();

    Result delete(ShoppingCartDTO dto);

    void deleteAll();
}
